package com.dou.yygh.hosp.service;

import com.dou.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;
import com.dou.yygh.model.hosp.Department;
import com.dou.yygh.vo.hosp.DepartmentQueryVo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA 2021.1 x64
 *
 * @Author: 窦义超
 * @Date: 2021/08/2021/8/28/22:06
 * @Description:
 */
@Service
public interface DepartmentService {
    void save(Map<String, Object> paramMap);

    Page<Department> findPageDepartment(int page, int limit, DepartmentQueryVo departmentQueryVo);

    void remove(String hoscode, String depcode);

    List<DepartmentVo> findDeptTree(String hoscode);

    String getDepName(String hoscode, String depcode);

    Department getDepartment(String hoscode, String depcode);
}
